//
//  FKFoundBaseVC.swift
//  FireKnowledge
//
//  Created by 杨伟毅 on 2019/4/19.
//  Copyright © 2019 wely. All rights reserved.
//

import UIKit
import MBProgressHUD
import SwiftyJSON
import MJRefresh

class FKFoundBaseVC: FKBaseViewController {
    let foundView = UITableView.init(frame: FKRect(x: 0, y: 0, width: FKScreenBound.Width, height: FKScreenBound.Height-FKScreenBound.TopH), style: .grouped)
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationItem.leftBarButtonItem = UIBarButtonItem.init(customView:UILabel().setbarItem("发现"))
        self.navigationItem.titleView = UILabel().setbarItem("考试倒计时170天")
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        
    }
    
   @objc  func chage() -> Void {
//    if <#condition#> {
//        <#code#>
//    }
    
//        UIApplication.shared.setStatusBarOrientation(.landscapeLeft, animated: true)
    }
    
    override var shouldAutorotate: Bool{
        return false
    }
    
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
